/**
 * 活动状态
 * 0 未开始 1进行中 2已结束
 */
export const activeStatus = {
  un: "0",
  doing: "1",
  finally: "2",
};

export const activeStatusConfig = {
  [activeStatus.un]: {
    label: "未开始",
    value: activeStatus.un,
    indexStyle: {
      color: "#aaaaaa",
    },
    style: {
      "border-radius": "15rpx",
      padding: "10rpx 30rpx",
      background: "#aaaaaa",
      color: "#ffffff",
      "font-size": "30rpx",
    },
  },
  [activeStatus.doing]: {
    label: "进行中",
    value: activeStatus.doing,
    indexStyle: {
      color: "#3399ed",
    },
    style: {
      "border-radius": "15rpx",
      padding: "10rpx 30rpx",
      background: "#3399ed",
      color: "#ffffff",
      "font-size": "30rpx",
    },
  },
  [activeStatus.finally]: {
    label: "已完成",
    value: activeStatus.finally,
    indexStyle: {
      color: "#30bf78",
    },
    style: {
      "border-radius": "15rpx",
      padding: "10rpx 30rpx",
      background: "#30bf78",
      color: "#ffffff",
      "font-size": "30rpx",
    },
  },
};
